<?php
$rootUrl = Yii::app()->params['document_root'];
$storeUrl = $rootUrl . Yii::app()->params['upload_url'] . 'store/default_images/';
?>

<div class="grid_12">
    <div class="main_1_slideshow">
        <?php $this->renderPartial('_slideshow', array('rootUrl' => $rootUrl)); ?>
    </div>
    <div class="blockHeight10"></div>
    
    <img src="<?php echo $storeUrl; ?>home_banner.jpg" />
    <div class="blockHeight10"></div>
</div>

<?php
$serviceMenu = Yii::t('app', 'service_menu');
$count = 1;
$curAction = Yii::app()->controller->action->id;

foreach ($serviceMenu as $key => $value) :
    $link = Yii::app()->createUrl('services/' . $key);
?>
<div class="grid_3 borderType_1">
    <a href="<?php echo $link ?>" class="link">
        <img src="<?php echo $storeUrl . "home_block_$count.jpg" ?>" />
    </a>
    
    <h1 class="txtColor2">
        <a href="<?php echo $link ?>" class="link lnColor2">
            <?php echo $value ?>
        </a>
    </h1>
</div>
<?php
$count++;
endforeach;
?>
<div class="blockHeight20"></div>